package com.rules.admin.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.rules.admin.json.Long2String;
import com.rules.admin.json.String2Long;
import lombok.Data;


import java.io.Serializable;
import java.util.Date;


@Data
@TableName("rul_sys_user")
public class RulePackage implements Serializable {
    @JsonSerialize(
            using = Long2String.class
    )
    @JsonDeserialize(
            using = String2Long.class
    )

    private Long id;
    @JsonSerialize(
            using = Long2String.class
    )
    @JsonDeserialize(
            using = String2Long.class
    )

    private Long businessModelId;

    private String name;

    private String version;

    private Integer status;

    private String createrId;

    private Date createTime;

    private String updaterId;

    private String artifactId;

    private String groupId;

    private String remark;

    private String conditions;
    @JsonSerialize(
            using = Long2String.class
    )
    @JsonDeserialize(
            using = String2Long.class
    )

    private Long projectid;

    private Integer packageStatus;
    private static final long serialVersionUID = 1L;

    public RulePackage() {
    }


}
